﻿<!--选择常用签章-->
<ion-popover-view class="MvcPopover signature">
    <ion-header-bar>
        <button class='button button-clear button-dark button-icon ion-chevron-left' ng-click='hide()'>{{names.Close}}</button>
        <h1 class='title'>{{header}}</h1>
    </ion-header-bar>
    <!-- update by ouyangsk J.V10.4中去除搜索常用意见和签章功能 -->
    <!-- <ion-header-bar class='bar-subheader item-input-inset'>
        <label ng-class="searchFocus?'focused item-input-wrapper search':'blured item-input-wrapper search'">
            <i class='icon-search placeholder-icon'></i>
            <input type='search' placeholder='{{names.Search}}' ng-model='searchText' ng-focus="searchAnimate()" ng-blur="searchAnimate()" ng-keyup="searChange()" />
        </label>  -->
    </ion-header-bar>
    <ion-content>
        <ion-list ng-cloak>

            <ion-radio ng-repeat='item in RadioListDisplay | filter:{name:searchText} | orderBy : "SortKey"' 
                       ng-model='selectedValue.signatrueId'
                       ng-value='item.id'
                       ng-click='clickRadio(item.id)'>
                {{item.name}}
                <img src="{{item.SignatureImg}}" />
            </ion-radio>

            <ion-item ng-show="searchNum==0&&searchText!=''" style="cursor:pointer;border:none;">
                <div class="item-icon-left" style="padding-left:20px;">
                    <h2 style="margin-left:10px;" ng-show="{{names.SheetUser.isShow}}">未搜索到与 “ <span class="overSearch" ng-bind="searchText">{{searchText}}</span> ” 相关的结果</h2>
                    <h2 style="margin-left:10px;" ng-show="{{!names.SheetUser.isShow}}">{{names.SheetUser.result}}<span class="overSearch" ng-bind="searchText">{{searchText}}</span> </h2>
                </div>
            </ion-item>
        </ion-list>
    </ion-content>
    <ion-footer-bar>
        <div class="footer-left"><button class = "button button-clear button-positive" ng-click = "reset()">{{names.Reset}}</button></div>
        <div ng-click="hide()" class="close footer-right">{{names.OK}}</div>
    </ion-footer-bar>
</ion-popover-view>